package sort;

import java.io.File;

import org.apache.lucene.index.IndexReader;
import org.apache.lucene.queryParser.QueryParser;
import org.apache.lucene.search.Query;
import org.apache.lucene.store.FSDirectory;
import org.apache.lucene.store.SimpleFSDirectory;

/**
 * 词频排序
 * @author apple
 *
 */
public class WordFrequencySort {

	public static void main(String[] args) throws Exception {
		
		FSDirectory dir = SimpleFSDirectory.open(new File("/Users/apple/lucene/index"));
		IndexReader reader = IndexReader.open(dir);
	}
}
